package com.guigu.base.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guigu.base.entity.GoodsType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 货物类型表 Mapper 接口
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-08
 */
public interface GoodsTypeMapper extends BaseMapper<GoodsType> {
    List<GoodsType> findByPage(Page<GoodsType> page,
                               @Param("name")String name,
                               @Param("truckTypeId")String truckTypeId,
                               @Param("truckTypeName")String truckTypeName);
}
